//
// Created by root on 2020/5/7.
//

#ifndef HEATBEATSERVER_JSONPROTOCOL_H
#define HEATBEATSERVER_JSONPROTOCOL_H

#include <string>

/**
 *  Json协议封装层
 */

class CJsonProtocol {
public:
    /**
     * 构造聊天信息
     * @param _sSendConnId 发送者Id
     * @param __sRecieveConnId  接收者Id
     * @param _sRoomId 聊天室Id
     * @param _sMsg 聊天信息
     * @return
     */
    static std::string MakeChatMsg(const std::string &_sSendConnId, const std::string &__sRecieveConnId,
            const std::string &_sRoomId, const std::string &_sMsg);

};


#endif //HEATBEATSERVER_JSONPROTOCOL_H
